Clear Method

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Removes all items from the Deque.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
public override sealed void Clear()
Visual Basic (Declaration)
Public Overrides NotOverridable Sub Clear
Visual C++
public:
virtual void Clear () override sealed

Remarks

Clearing the Deque takes a small constant amount of time, regardless of how many items are currently in the Deque.

See Also